package com.hxiaoyi.cloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

/**
 * 描述EnableHystrixDashboard启动hystrix监控
 * @author 黄敬意
 * @date 2022-02-13 20:39
 **/
@SpringBootApplication
@EnableHystrixDashboard
public class HystrixDashboardMain9001 {
    public static void main(String[] args) {
        SpringApplication.run(HystrixDashboardMain9001.class, args);
        System.out.println("具备Hystrix的服务web图像监控的9001启动成功");
    }
}
